package com.ruoyi.wq.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.mybatis.base.BaseEntity;

/**
 * 我的组队对象 wq_user_game
 * 
 * @author ruoyi
 * @date 2023-05-27
 */
public class WqUserGame extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.UUID)
    private String id;

    /** 房间ID */
    @Excel(name = "房间ID")
    private String gameHomeId;
    
    /** 游戏结果 */
    @Excel(name = "游戏结果")
    private String gameResult;
    
    /** 游戏昵称 */
    @Excel(name = "游戏昵称")
    private String gameArea;
    
    /** 游戏昵称 */
    @Excel(name = "游戏昵称")
    private String gameName;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setGameHomeId(String gameHomeId) 
    {
        this.gameHomeId = gameHomeId;
    }

    public String getGameHomeId() 
    {
        return gameHomeId;
    }
    public String getGameResult() {
		return gameResult;
	}

	public void setGameResult(String gameResult) {
		this.gameResult = gameResult;
	}

	public String getGameArea() {
		return gameArea;
	}

	public void setGameArea(String gameArea) {
		this.gameArea = gameArea;
	}

	public String getGameName() {
		return gameName;
	}

	public void setGameName(String gameName) {
		this.gameName = gameName;
	}

	public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gameHomeId", getGameHomeId())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
